package net.wenku8.reader.model.review;


import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter;

@XStreamAlias("user")
@XStreamConverter(value= ToAttributedValueConverter.class, strings={"name"})
public class ReviewUserValue {

    @XStreamAlias("uid")
    @XStreamAsAttribute
    String userId;

    String name;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
